#! /bin/bash

case $1 in
    ""|"-?"|"-h")
	echo "USAGE: elog OPTION"
	echo -ne "-? -h\tshow this message\n"
	echo -ne "-f\tshow emerge-fetch.log\n"
	echo -ne "-e\tshow emerge.log\n\n"
    ;;

    "-e") doas tail -f /var/log/emerge.log ;;
    "-f") doas tail -f /var/log/emerge-fetch.log ;;
esac
